<div class="admin">
    <form method="post" name="myform" id="myform">
        <div class="panel admin-panel">
            <div class="panel-head"><strong>评价详情信息</strong></div>
            <table class="table table-hover">
                <tr>
                    <td colspan="4" align="left"><b>订单信息<b></td>
                </tr>
                <tr>
                    <td>订单编号：{$order['order_sn']}</td>
                    <td>评价时间：{$comment['add_time']|date="Y-m-d H:i:s",###}</td>
                    <td>交易时间：{$order['add_time']|date="Y-m-d H:i:s",###}</td>
                    <td>订单状态：
                        <switch name="order.order_state">
                            <case value="20">已付款</case>
                            <case value="30">已发货</case>
                            <case value="40">已完成</case>
                        </switch>
                    </td>
                </tr>
                <tr>
                    <td colspan="4" align="left"><b>买家信息<b></td>
                </tr>
                <tr>
                    <td>收件人姓名：{$user['true_name']}</td>
                    <td>联系方式：{$user['mob_phone']}</td>
                    <td>收货地址：{$user['dizhi']}</td>
                    <td></td>
                </tr>
                <tr>
                    <td colspan="4">评价内容：<span style="color: red;">{$comment['comment']}</span></td>
                </tr>
                <tr>
                    <td colspan="4" align="left"><b>商品信息<b></td>
                </tr>
                <tr>
                    <td>商品名称：<a href="#">{$comment['goods_name']}</a></td>
                    <td><a href="#"><img src="{$goods['goods_image']}!100x100"></a></td>
                    <td>购买数量：{$goods['goods_num']}</td>
                    <td>实际付款：{$goods['goods_pay_price']}</td>
                </tr>
                <tr class="noborder">
                    <td colspan="4">
                        <script type="text/javascript" charset="utf-8" src="/Public/ueditor1_4_3/ueditor.config.js"></script>
                        <script type="text/javascript" charset="utf-8" src="/Public/ueditor1_4_3/ueditor.all.min.js"></script>
                        <script type="text/javascript" charset="utf-8" src="/Public/ueditor1_4_3/lang/zh-cn/zh-cn.js"></script>
                        <textarea id="editor" type="text/plain" style="width:100%;height:200px;" name="reply" >{$comment['reply']}</textarea>
                        <script>
                            var ue = UE.getEditor('editor');
                            UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl;
                            UE.Editor.prototype.getActionUrl = function(action) {
                                if (action == 'uploadimage' || action == 'uploadscrawl' || action == 'uploadimage') {
                                    return 'http://admin.taodudu.com/Admin/ueditor';
                                } else {
                                    return this._bkGetActionUrl.call(this, action);
                                }
                            }
                        </script>
                    </td>
                </tr>
                <tr>
                    <td align="right" colspan="4"><input type="submit" value="提交"></td>
                </tr>

            </table>
            <div class="panel-foot text-center">
                {$page}
            </div>
        </div>
    </form>
</div>
<script type="text/javascript">
    $('#myform').layer({
        actionUrl: "batchAction",
        deleteUrl: "del",
    });
</script>